<h1>Update Product Photo</h1>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
  'id'=>'amenity-form',
  'enableAjaxValidation'=>false,
)); ?>

  <?php echo $form->errorSummary($model); ?>

  <div class="row">
    <?php echo $form->labelEx($model,'description_en'); ?>
    <?php echo $form->textField($model,'description_en',array('size'=>60,'maxlength'=>200)); ?>
    <?php echo $form->error($model,'description_en'); ?>
  </div>

  <div class="row">
    <?php echo $form->labelEx($model,'description_th'); ?>
    <?php echo $form->textField($model,'description_th',array('size'=>60,'maxlength'=>200)); ?>
    <?php echo $form->error($model,'description_th'); ?>
  </div>

  <div class="row buttons">
    <?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
  </div>

<?php $this->endWidget(); ?>

</div><!-- form -->